package top.tanglizhi.springboot3.aop;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Limit {
    String key() default "";
    
    String message() default "访问过于频繁，请稍后再试";
    
    String mode() default "ip";

    int timeout() default 60;
}
